using System;
using System.Collections.Generic;
using System.Text;
using WCSFContrib.ECommerceCatalog.User.Interfaces.Services;

namespace WCSFContrib.ECommerceCatalog.Product.Tests.Mocks
{
    public class MockCartService : ICartService
    {
        public bool AddItemCalled = false;

        #region ICartService Members

        public ICollection<BusinessEntities.Cart> AllCarts
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        public BusinessEntities.Cart GetCartByUserName(string userName)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void AddItem(string userName, int itemId, int quantity)
        {
            AddItemCalled = true;
        }

        public void RemoveItem(string userName, BusinessEntities.Item item, int quantity)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void DeleteCart(string userName)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion
    }
}
